<?php

namespace Kunfeng\Dify\Model\Chat;

/**
 * 建议问题响应模型
 */
class SuggestedQuestionsResponse
{
    private $data;

    public function __construct(array $data)
    {
        $this->data = $data['data'] ?? [];
    }

    /**
     * 从数组创建
     */
    public static function fromArray(array $data): self
    {
        return new self($data);
    }

    // Getters
    public function getData(): array
    {
        return $this->data;
    }
}
